#pragma once

namespace catan
{
	struct FieldResourceType
	{
		enum Enum
		{
			Brick,
			Wood,
			Grain,
			Sheep,
			Iron,
			Desert,
			Num,
			Any = Num,
		};
		static const tstring ToChsString(FieldResourceType::Enum);
		static const tstring ToEngString(FieldResourceType::Enum);

	};

	class FieldResource : public BoardItem
	{
	public:
		FieldResource(){}
		FieldResource(FieldResourceType::Enum type);
		FieldResourceType::Enum Type() const { return mType;}
		~FieldResource(void);
	private:
		FieldResourceType::Enum mType;

	public:
		template<class Serializer>
		void serialize(Serializer & s, const unsigned int version)
		{
			s & mType;
		}
	};
}	